package com.tcs.test.single.singletions;

/**
 * 饿汉
 */
public class Singletion1 {

    private static Singletion1 singletion1 = new Singletion1();

    private Singletion1() {
        System.out.println(" 饿汉模式 ");
    }

    public static Singletion1 getSingletion1() {
        return singletion1;
    }
}
